# Contributor: Lucas Ramage <ramage.lucas@protonmail.com>
# Maintainer: Lucas Ramage <ramage.lucas@protonmail.com>
pkgname=roswell
pkgver=21.10.14.111
pkgrel=0
pkgdesc="Common Lisp environment setup Utility"
url="https://roswell.github.io"
arch="all"
license="MIT"
makedepends="automake autoconf curl-dev"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/roswell/roswell/archive/refs/tags/v$pkgver.tar.gz"

prepare() {
	default_prepare
	./bootstrap
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-sbcl-bin-variant=-musl
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="
d6979974807385e1e7be993610b5ed6ef5297ded21727162b6bc3240d402168cfe32b6b243f535c69b91620d0af4a3b7e046080be2881610ffbe0d3babfa3b23  roswell-21.10.14.111.tar.gz
"
